package cn.outsourcing.supermarket.dto.backstage;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.Data;

/**
 * 后台分类保存
 *
 * @author gzkemays
 * @since 2021/11/4 15:15
 */
@Data
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
public class BackstageCategoryStoreDTO {
  String frontName;
  String iconUrl;
  Integer id;
  String imgUrl;
  String level;
  String name;
  @JsonProperty(value = "p_height")
  String pHeight;
  Integer parentId;
  Integer sortOrder;
}
